package com.system.connect.springboot_flowers.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 帖子信息
 * </p>
 *
 * @author yang
 * @since 2025-02-19
 */
@Getter
@Setter
@TableName("post_metrics")
public class PostMetrics implements Serializable {

    private static final long serialVersionUID = 1L;

      /**
     * ID
     */
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      /**
     * 帖子ID
     */
      private Integer postId;

      /**
     * 观看量
     */
      private Integer views;

      /**
     * 回复量
     */
      private Integer replies;

      /**
     * 收藏量
     */
      private Integer  favorites;

      /**
     *  likes
     */
      private Integer  likes;


}
